package com.skeleton.db.entity;

import com.skeleton.db.dto.UserinfoDto;

public class Userinfo {

	private String loginname;
	private String password;
	private int create_dttm;
	private String create_ip;
	private char type;
	private char status;

	public UserinfoDto toDto() {
		UserinfoDto dto = new UserinfoDto();
		dto.setUserLoginname(loginname);
		dto.setUserPassword(password);
		dto.setUserCreateDttm(create_dttm);
		dto.setUserCreateIp(create_ip);
		dto.setUserType(type);
		dto.setUserStatus(status);
		return dto;
	}

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getCreate_dttm() {
		return create_dttm;
	}

	public void setCreate_dttm(int create_dttm) {
		this.create_dttm = create_dttm;
	}

	public String getCreate_ip() {
		return create_ip;
	}

	public void setCreate_ip(String create_ip) {
		this.create_ip = create_ip;
	}

	public char getType() {
		return type;
	}

	public void setType(char type) {
		this.type = type;
	}

	public char getStatus() {
		return status;
	}

	public void setStatus(char status) {
		this.status = status;
	}

}
